#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>

int main()
{
	int a, b, c, max;
	scanf("%d %d %d", &a, &b, &c);
	if (a >= b)
		max = a;
	else
		max = b;
	if (max <= c)
		max = c;
	printf("%d", max);
	return 0;
}